import request from '@/utils/request'

// 查询投递简历列表
export function listDeliverResume(query) {
  return request({
    url: '/recruit/deliverResume/list',
    method: 'get',
    params: query
  })
}

// 查询投递简历详细
export function getDeliverResume(deliverResumeId) {
  return request({
    url: '/recruit/deliverResume/' + deliverResumeId,
    method: 'get'
  })
}

// 新增投递简历
export function addDeliverResume(data) {
  return request({
    url: '/recruit/deliverResume',
    method: 'post',
    data: data
  })
}

// 修改投递简历
export function updateDeliverResume(data) {
  return request({
    url: '/recruit/deliverResume',
    method: 'put',
    data: data
  })
}

// 删除投递简历
export function delDeliverResume(deliverResumeId) {
  return request({
    url: '/recruit/deliverResume/' + deliverResumeId,
    method: 'delete'
  })
}
